<script setup></script>

<template>
  <div class="common-layout">
    <el-container>
      <!-- 侧边栏 -->
      <CommonAside></CommonAside>
      <el-container>
        <!-- 顶部导航栏 -->
        <el-header>
          <CommonHeader></CommonHeader>
        </el-header>
        <!-- tags标签 -->
        <CommonTag></CommonTag>
        <!-- 内容区 -->
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style lang="less">
.el-container {
  height: 100vh;
}

.el-header {
  background-color: #333;
}

.el-main {
  background-color: #fbfbfb;
}
</style>
